package com.example.springcloudjwtserver;

import com.example.springcloudjwtserver.user.controller.UserController;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@MapperScan("com.example.springcloudjwtserver.*.mapper")
@SpringBootApplication
public class SpringCloudJwtServerApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(SpringCloudJwtServerApplication.class, args);
        UserController userController = run.getBean(UserController.class);
        System.out.println(userController);
    }

}
